Manual client updater
CRUD Script
This section describes how to manually create, update, delete and view the RADIUS Client using the C – Create, U – Update, D – Delete, V – View (Client_Updater script).
Execute the ./Client_Updater
from the package. The following steps detail the flow for the components it checks, and the inputs it prompts for, before completing a CRUD operation.
Note
- In case of SAS PCE/SPE, if the RADIUS Client API is accessible and FreeRADIUS Synchronization is enabled, the Auth Nodes from SAS PCE/SPE server get updated to the FreeRADIUS server.
- On the other hand, for SafeNet Trusted Access (STA), or if FreeRADIUS Synchronization is not used with SAS PCE/SPE, the Auth Nodes from STA do not get updated to the FreeRADIUS server. All entries have to be done manually using the Client_Updater script.
C – Create
-
After the following prompt, type C, and press ENTER.
The screen will display the current list of clients:
-
Enter IP address of the RADIUS Client.
-
Enter a name for the RADIUS Client.
-
Enter a Secret key.
-
Enter a description.
-
The RADIUS Client is now added. The container will run with the new changes.
U – Update
-
After the following prompt, type U, and press ENTER
-
The records that can be updated will be listed. The records are identified by the ID value (the number displayed against them).
Note
As an example, we will illustrate how to update some fields of the third (3) record.
-
Enter the required ID value.
-
Enter a short name in the field that you want to update and press ENTER.
Note
As an example, we will illustrate how to update shortname and secret fields.
-
Enter a new value and press ENTER.
-
The script then prompts the user if any other field needs to be updated. Enter Y to update else, enter N to exit the script.
-
If you have entered Y, the script prompts to update the field name.
-
Enter the new value to update the secret field.
-
If there is no other field to update, enter N.
-
On exit, the following message is displayed.
The script will show the updated ID with the fields:
D – Delete
-
After the following prompt, type D, and press ENTER.
-
The records that can be deleted will be listed. The records are identified by the ID value (the number displayed against them).
Note
As an example, we will illustrate how to delete the second (2) record.
-
Enter the required ID value.
-
The RADIUS Client record is now deleted. After you restart, the container will run with the new changes.
-
If required, perform View (V) to check if the record has been deleted successfully.
V – View
To view the client table, type V and press ENTER.
The following table is displayed to confirm: